package com.hm.health.entity.dao;

import org.litepal.crud.DataSupport;

public class EcgPatchCsvInfo extends DataSupport {

    private int csvId;

    private String testId;

    private long beginTimeStamp;

    private long endTimeStamp;

    private int beginSectorId;

    private int endSectorId;

    private String rawdataFilePath;

    private String resultFilePath;

    private boolean hasAlgoResult;

    public int getCsvId() {
        return csvId;
    }

    public void setCsvId(int csvId) {
        this.csvId = csvId;
    }

    public String getTestId() {
        return testId;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public long getBeginTimeStamp() {
        return beginTimeStamp;
    }

    public void setBeginTimeStamp(long beginTimeStamp) {
        this.beginTimeStamp = beginTimeStamp;
    }

    public long getEndTimeStamp() {
        return endTimeStamp;
    }

    public void setEndTimeStamp(long endTimeStamp) {
        this.endTimeStamp = endTimeStamp;
    }

    public int getBeginSectorId() {
        return beginSectorId;
    }

    public void setBeginSectorId(int beginSectorId) {
        this.beginSectorId = beginSectorId;
    }

    public int getEndSectorId() {
        return endSectorId;
    }

    public void setEndSectorId(int endSectorId) {
        this.endSectorId = endSectorId;
    }

    public String getRawdataFilePath() {
        return rawdataFilePath;
    }

    public void setRawdataFilePath(String rawdataFilePath) {
        this.rawdataFilePath = rawdataFilePath;
    }

    public String getResultFilePath() {
        return resultFilePath;
    }

    public void setResultFilePath(String resultFilePath) {
        this.resultFilePath = resultFilePath;
    }

    public boolean getHasAlgoResult() {
        return hasAlgoResult;
    }

    public void setHasAlgoResult(boolean hasAlgoResult) {
        this.hasAlgoResult = hasAlgoResult;
    }

    public String toString() {

        StringBuilder builder = new StringBuilder();
        builder.append("EcgPatchCsvInfo: { csvId:").append(csvId)
                .append(", testId:").append(testId)
                .append(", beginTimeStamp:").append(beginTimeStamp)
                .append(", endTimeStamp:").append(endTimeStamp)
                .append(", beginSectorId:").append(beginSectorId)
                .append(", endSectorId:").append(endSectorId)
                .append(", rawdataFilePath:").append(rawdataFilePath)
                .append(", resultFilePath:").append(resultFilePath);

        return builder.toString();
    }
}